package cn.tedu.sp01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import cn.tedu.sp01.entity.Item;
import cn.tedu.sp01.entity.User;
import java.util.List;

//https://gitee.com/benwang6/cgb2105
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private String id;
    private User user; //订单所属的用户
    private List<Item> items; //购买的商品列表
}
